package com.mjf.cjt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 生产加工单材料明细表
 * </p>
 *
 * @author
 * @since 2025-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mjf_manufactureorder_details_material")
//@ApiModel(value = "MjfManufactureOrderDetailsMaterial对象", description = "生产加工单材料明细表")
public class MjfManufactureOrderDetailsMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    // @ApiModelProperty(value = "")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    // @ApiModelProperty(value = "订单明细ID")
    @TableField("md_ID")
    private Long mdId;

    // @ApiModelProperty(value = "")
    @TableField("Ts")
    private String ts;

    // @ApiModelProperty(value = "")
    @TableField("Status")
    private Integer status;

    // @ApiModelProperty(value = "")
    @TableField("IsFromBom")
    private String isFromBom;

    // @ApiModelProperty(value = "材料条码")
    @TableField("InventoryBarCode")
    private String inventoryBarCode;

    // @ApiModelProperty(value = "材料存货ID")
    @TableField("InventoryID")
    private String inventoryId;

    // @ApiModelProperty(value = "材料存货编码")
    @TableField("InventoryCode")
    private String inventoryCode;

    // @ApiModelProperty(value = "材料存货名称")
    @TableField("InventoryName")
    private String inventoryName;

    // @ApiModelProperty(value = "材料存货图片")
    @TableField("InventoryImageFile")
    private String inventoryImageFile;

    // @ApiModelProperty(value = "材料存货规格")
    @TableField("InventorySpecification")
    private String inventorySpecification;

    // @ApiModelProperty(value = "仓库")
    @TableField("Warehouse")
    private String warehouse;

    // @ApiModelProperty(value = "")
    @TableField("Process")
    private String process;

    // @ApiModelProperty(value = "")
    @TableField("IsInvertedMaterial")
    private String isInvertedMaterial;

    // @ApiModelProperty(value = "")
    @TableField("IsAllowCircle")
    private String isAllowCircle;

    // @ApiModelProperty(value = "")
    @TableField("IsAdditionalMaterial")
    private String isAdditionalMaterial;

    // @ApiModelProperty(value = "计量单位ID")
    @TableField("UnitID")
    private String unitId;

    // @ApiModelProperty(value = "计量单位编码")
    @TableField("UnitCode")
    private String unitCode;

    // @ApiModelProperty(value = "计量单位名称")
    @TableField("UnitName")
    private String unitName;

    // @ApiModelProperty(value = "")
    @TableField("ParentScaleQuantity")
    private BigDecimal parentScaleQuantity;

    // @ApiModelProperty(value = "")
    @TableField("SonScaleQuantity")
    private BigDecimal sonScaleQuantity;

    // @ApiModelProperty(value = "定额需用数量")
    @TableField("SonScaleQuantity2")
    private BigDecimal sonScaleQuantity2;

    // @ApiModelProperty(value = "需用数量")
    @TableField("SonNeededQuantity")
    private BigDecimal sonNeededQuantity;

    // @ApiModelProperty(value = "需用数量2")
    @TableField("SonNeededQuantity2")
    private BigDecimal sonNeededQuantity2;

    // @ApiModelProperty(value = "计划数量")
    @TableField("Quantity")
    private BigDecimal quantity;

    // @ApiModelProperty(value = "计划数量2")
    @TableField("Quantity2")
    private BigDecimal quantity2;

    // @ApiModelProperty(value = "批号")
    @TableField("Batch")
    private String batch;

    // @ApiModelProperty(value = "材料备注")
    @TableField("Memo")
    private String memo;

    // @ApiModelProperty(value = "")
    @TableField("AvailableQuantity")
    private BigDecimal availableQuantity;

    // @ApiModelProperty(value = "")
    @TableField("ExistingQuantity")
    private BigDecimal existingQuantity;
}
